package edu.sctu.zhangwang.month201505.day20150518.youXi;

/**
 * Created by user10 on 2015/5/18.
 */
public class Move extends Vehicle{
//    Vehicle vehicle = new Vehicle();

    public void speedUp(int speed1){
        speed += speed1;
        System.out.print("提速到："+speed);
    }
    public void speedDown(int speed2){
        speed -= speed2;
        System.out.println("减速到："+speed);
    }
}
